home *** CD-ROM | disk | FTP | other *** search
/ Know Your Baseball - The Greatest Player Resource / Know Your Baseball - Greatest Player.iso / Baseball / Director / SHARED.CST / 00025_Script_25 < prev    next >
Text File  |  1998-09-21  |  747b  |  28 lines

  1. on ClearMostGlobals 
  2.   global CDPath, DLPath, gRegAll, gRegSkill, gRegGame, gProdAll, gProdSkill, gProdGame
  3.   
  4.   -- save these global variables into temp variables
  5.   set  tCDPath = CDPath
  6.   set tDLPath=DLPath
  7.   set tProdAll = gProdAll
  8.   set tProdSkill = gProdSkill
  9.   set tProdGame = gProdGame
  10.   set tRegAll=gRegAll
  11.   set tRegSkill = gRegSkill
  12.   set tRegGame = gRegGame
  13.   
  14.   -- trash all the globals - required by the Coyote code
  15.   ClearGlobals
  16.   
  17.   -- restore the globals we cunningly saved and still require
  18.   set  CDPath = tCDPath
  19.   set DLPath=tDLPath
  20.   set gProdAll = tProdAll
  21.   set gProdSkill = tProdSkill
  22.   set gProdGame = tProdGame
  23.   set gRegAll=tRegAll
  24.   set gRegSkill = tRegSkill
  25.   set gRegGame = tRegGame
  26.  
  27. end
  28.